package com.txzt.gaea.archive.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.txzt.gaea.common.base.entity.BaseEntity;
import lombok.Data;
import org.beetl.sql.core.annotatoin.Table;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@Table(name="tb_biz_archive_record")
public class BizArchiveRecordVo extends BaseEntity implements Serializable {

    private Long id ;
    /*业务档案ID*/
    private Long archiveId ;
    /*外借人*/
    private Long borrowBy ;

    private String borrowName;
    /*外借原因*/
    private String comment ;
    /*外借时间*/
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date borrowDate ;
    /*归还时间*/
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date returnDate ;

}
